package com.group9.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class AssetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AssetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAssetIdIsNull() {
            addCriterion("asset_id is null");
            return (Criteria) this;
        }

        public Criteria andAssetIdIsNotNull() {
            addCriterion("asset_id is not null");
            return (Criteria) this;
        }

        public Criteria andAssetIdEqualTo(String value) {
            addCriterion("asset_id =", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotEqualTo(String value) {
            addCriterion("asset_id <>", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdGreaterThan(String value) {
            addCriterion("asset_id >", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdGreaterThanOrEqualTo(String value) {
            addCriterion("asset_id >=", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdLessThan(String value) {
            addCriterion("asset_id <", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdLessThanOrEqualTo(String value) {
            addCriterion("asset_id <=", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdLike(String value) {
            addCriterion("asset_id like", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotLike(String value) {
            addCriterion("asset_id not like", value, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdIn(List<String> values) {
            addCriterion("asset_id in", values, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotIn(List<String> values) {
            addCriterion("asset_id not in", values, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdBetween(String value1, String value2) {
            addCriterion("asset_id between", value1, value2, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetIdNotBetween(String value1, String value2) {
            addCriterion("asset_id not between", value1, value2, "assetId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdIsNull() {
            addCriterion("asset_cat_id is null");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdIsNotNull() {
            addCriterion("asset_cat_id is not null");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdEqualTo(Integer value) {
            addCriterion("asset_cat_id =", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdNotEqualTo(Integer value) {
            addCriterion("asset_cat_id <>", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdGreaterThan(Integer value) {
            addCriterion("asset_cat_id >", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("asset_cat_id >=", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdLessThan(Integer value) {
            addCriterion("asset_cat_id <", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdLessThanOrEqualTo(Integer value) {
            addCriterion("asset_cat_id <=", value, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdIn(List<Integer> values) {
            addCriterion("asset_cat_id in", values, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdNotIn(List<Integer> values) {
            addCriterion("asset_cat_id not in", values, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdBetween(Integer value1, Integer value2) {
            addCriterion("asset_cat_id between", value1, value2, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetCatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("asset_cat_id not between", value1, value2, "assetCatId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdIsNull() {
            addCriterion("asset_sub_id is null");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdIsNotNull() {
            addCriterion("asset_sub_id is not null");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdEqualTo(Integer value) {
            addCriterion("asset_sub_id =", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdNotEqualTo(Integer value) {
            addCriterion("asset_sub_id <>", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdGreaterThan(Integer value) {
            addCriterion("asset_sub_id >", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("asset_sub_id >=", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdLessThan(Integer value) {
            addCriterion("asset_sub_id <", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdLessThanOrEqualTo(Integer value) {
            addCriterion("asset_sub_id <=", value, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdIn(List<Integer> values) {
            addCriterion("asset_sub_id in", values, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdNotIn(List<Integer> values) {
            addCriterion("asset_sub_id not in", values, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdBetween(Integer value1, Integer value2) {
            addCriterion("asset_sub_id between", value1, value2, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetSubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("asset_sub_id not between", value1, value2, "assetSubId");
            return (Criteria) this;
        }

        public Criteria andAssetNameIsNull() {
            addCriterion("asset_name is null");
            return (Criteria) this;
        }

        public Criteria andAssetNameIsNotNull() {
            addCriterion("asset_name is not null");
            return (Criteria) this;
        }

        public Criteria andAssetNameEqualTo(String value) {
            addCriterion("asset_name =", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameNotEqualTo(String value) {
            addCriterion("asset_name <>", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameGreaterThan(String value) {
            addCriterion("asset_name >", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameGreaterThanOrEqualTo(String value) {
            addCriterion("asset_name >=", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameLessThan(String value) {
            addCriterion("asset_name <", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameLessThanOrEqualTo(String value) {
            addCriterion("asset_name <=", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameLike(String value) {
            addCriterion("asset_name like", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameNotLike(String value) {
            addCriterion("asset_name not like", value, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameIn(List<String> values) {
            addCriterion("asset_name in", values, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameNotIn(List<String> values) {
            addCriterion("asset_name not in", values, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameBetween(String value1, String value2) {
            addCriterion("asset_name between", value1, value2, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetNameNotBetween(String value1, String value2) {
            addCriterion("asset_name not between", value1, value2, "assetName");
            return (Criteria) this;
        }

        public Criteria andAssetModelIsNull() {
            addCriterion("asset_model is null");
            return (Criteria) this;
        }

        public Criteria andAssetModelIsNotNull() {
            addCriterion("asset_model is not null");
            return (Criteria) this;
        }

        public Criteria andAssetModelEqualTo(String value) {
            addCriterion("asset_model =", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelNotEqualTo(String value) {
            addCriterion("asset_model <>", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelGreaterThan(String value) {
            addCriterion("asset_model >", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelGreaterThanOrEqualTo(String value) {
            addCriterion("asset_model >=", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelLessThan(String value) {
            addCriterion("asset_model <", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelLessThanOrEqualTo(String value) {
            addCriterion("asset_model <=", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelLike(String value) {
            addCriterion("asset_model like", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelNotLike(String value) {
            addCriterion("asset_model not like", value, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelIn(List<String> values) {
            addCriterion("asset_model in", values, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelNotIn(List<String> values) {
            addCriterion("asset_model not in", values, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelBetween(String value1, String value2) {
            addCriterion("asset_model between", value1, value2, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetModelNotBetween(String value1, String value2) {
            addCriterion("asset_model not between", value1, value2, "assetModel");
            return (Criteria) this;
        }

        public Criteria andAssetPriceIsNull() {
            addCriterion("asset_price is null");
            return (Criteria) this;
        }

        public Criteria andAssetPriceIsNotNull() {
            addCriterion("asset_price is not null");
            return (Criteria) this;
        }

        public Criteria andAssetPriceEqualTo(BigDecimal value) {
            addCriterion("asset_price =", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceNotEqualTo(BigDecimal value) {
            addCriterion("asset_price <>", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceGreaterThan(BigDecimal value) {
            addCriterion("asset_price >", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("asset_price >=", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceLessThan(BigDecimal value) {
            addCriterion("asset_price <", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("asset_price <=", value, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceIn(List<BigDecimal> values) {
            addCriterion("asset_price in", values, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceNotIn(List<BigDecimal> values) {
            addCriterion("asset_price not in", values, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("asset_price between", value1, value2, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("asset_price not between", value1, value2, "assetPrice");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateIsNull() {
            addCriterion("asset_pur_date is null");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateIsNotNull() {
            addCriterion("asset_pur_date is not null");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateEqualTo(Date value) {
            addCriterionForJDBCDate("asset_pur_date =", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("asset_pur_date <>", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateGreaterThan(Date value) {
            addCriterionForJDBCDate("asset_pur_date >", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("asset_pur_date >=", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateLessThan(Date value) {
            addCriterionForJDBCDate("asset_pur_date <", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("asset_pur_date <=", value, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateIn(List<Date> values) {
            addCriterionForJDBCDate("asset_pur_date in", values, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("asset_pur_date not in", values, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("asset_pur_date between", value1, value2, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetPurDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("asset_pur_date not between", value1, value2, "assetPurDate");
            return (Criteria) this;
        }

        public Criteria andAssetStatusIsNull() {
            addCriterion("asset_status is null");
            return (Criteria) this;
        }

        public Criteria andAssetStatusIsNotNull() {
            addCriterion("asset_status is not null");
            return (Criteria) this;
        }

        public Criteria andAssetStatusEqualTo(String value) {
            addCriterion("asset_status =", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusNotEqualTo(String value) {
            addCriterion("asset_status <>", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusGreaterThan(String value) {
            addCriterion("asset_status >", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusGreaterThanOrEqualTo(String value) {
            addCriterion("asset_status >=", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusLessThan(String value) {
            addCriterion("asset_status <", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusLessThanOrEqualTo(String value) {
            addCriterion("asset_status <=", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusLike(String value) {
            addCriterion("asset_status like", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusNotLike(String value) {
            addCriterion("asset_status not like", value, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusIn(List<String> values) {
            addCriterion("asset_status in", values, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusNotIn(List<String> values) {
            addCriterion("asset_status not in", values, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusBetween(String value1, String value2) {
            addCriterion("asset_status between", value1, value2, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetStatusNotBetween(String value1, String value2) {
            addCriterion("asset_status not between", value1, value2, "assetStatus");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkIsNull() {
            addCriterion("asset_remark is null");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkIsNotNull() {
            addCriterion("asset_remark is not null");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkEqualTo(String value) {
            addCriterion("asset_remark =", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkNotEqualTo(String value) {
            addCriterion("asset_remark <>", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkGreaterThan(String value) {
            addCriterion("asset_remark >", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("asset_remark >=", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkLessThan(String value) {
            addCriterion("asset_remark <", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkLessThanOrEqualTo(String value) {
            addCriterion("asset_remark <=", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkLike(String value) {
            addCriterion("asset_remark like", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkNotLike(String value) {
            addCriterion("asset_remark not like", value, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkIn(List<String> values) {
            addCriterion("asset_remark in", values, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkNotIn(List<String> values) {
            addCriterion("asset_remark not in", values, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkBetween(String value1, String value2) {
            addCriterion("asset_remark between", value1, value2, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetRemarkNotBetween(String value1, String value2) {
            addCriterion("asset_remark not between", value1, value2, "assetRemark");
            return (Criteria) this;
        }

        public Criteria andAssetLimitIsNull() {
            addCriterion("asset_limit is null");
            return (Criteria) this;
        }

        public Criteria andAssetLimitIsNotNull() {
            addCriterion("asset_limit is not null");
            return (Criteria) this;
        }

        public Criteria andAssetLimitEqualTo(Integer value) {
            addCriterion("asset_limit =", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitNotEqualTo(Integer value) {
            addCriterion("asset_limit <>", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitGreaterThan(Integer value) {
            addCriterion("asset_limit >", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("asset_limit >=", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitLessThan(Integer value) {
            addCriterion("asset_limit <", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitLessThanOrEqualTo(Integer value) {
            addCriterion("asset_limit <=", value, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitIn(List<Integer> values) {
            addCriterion("asset_limit in", values, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitNotIn(List<Integer> values) {
            addCriterion("asset_limit not in", values, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitBetween(Integer value1, Integer value2) {
            addCriterion("asset_limit between", value1, value2, "assetLimit");
            return (Criteria) this;
        }

        public Criteria andAssetLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("asset_limit not between", value1, value2, "assetLimit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}